package com.luzhiqing.api.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "luzhiqing-biz-server")
public interface HelloWorldService {
    @RequestMapping(path = "/v1/luzhiqing/hello-world", method = RequestMethod.GET)
    String helloWorld(@RequestParam("name") String name);
}
